<?php

namespace app\common;

class ConstVar
{
    public static $ContactIdType = [
        1 => '身份证',
        2 => '护照',
        5 => '回乡证',
        6 => '港澳台通行证',
        7 => '台胞证',
        9 => '台湾通行证',
    ];

    public static $OrderStatus = [
        1 => '待支付',
        2 => '待出单',
        3 => '已出单',
        4 => '申请退单',
        5 => '申请部分退款',
        6 => '已退单',
        7 => '已部分退款',
        8 => '已完成',
        9 => '退票失败',
        10 => '退款失败',
        11 => '出票失败',
        12 => '已关闭',
        13 => '已取消',
    ];

    public static $YesOrNo = [
        1 => '是',
        0 => '否',
    ];

    public static $VipLevel = [
        1 => '普通会员',
        2 => 'VIP会员',
        3 => '高级会员',
    ];

    public static $dataType = [
        1   =>  '淡季',
        2   =>  '春节',
        3   =>  '五一',
        4   =>  '国庆',
        5   =>  '暑假',
        6   =>  '元旦',
        7   =>  '三月三',
        8   =>  '清明节',
        9   =>  '劳动节',
        10   =>  '端五节',
        11   =>  '中秋节',
        12   =>  '活动',
        13   =>  '其他',
    ];
    public static $shipCat = [
        1   =>  '普通舱',
        2   =>  '商务舱'
    ];

    public static $yjType = [
        1   =>  '系统问题',
        2   =>  '产品建议',
        3   =>  '意见反馈',
        4   =>  '旅游体验',
        5   =>  '服务投诉',
        6   =>  '其他'
    ];

    public static $goodsType2 = [
        [
            'id'    =>   1,
            'name'  =>  '推荐商品',
            'sub'   =>  [
                [
                    'id'    =>   1,
                    'name'  =>  '推荐商品'
                ],
                [
                    'id'    =>   2,
                    'name'  =>  '推荐商品'
                ]
            ]
        ],
        [
            'id'    =>   2,
            'name'  =>  '新品上市',
            'sub'   =>  [
                [
                    'id'    =>   1,
                    'name'  =>  '新品上市'
                ],
                [
                    'id'    =>   2,
                    'name'  =>  '新品上市'
                ]
            ]
        ],
        [
            'id'    =>   3,
            'name'  =>  '热卖商品',
            'sub'   =>  [
                [
                    'id'    =>   1,
                    'name'  =>  '热卖商品'
                ],
                [
                    'id'    =>   2,
                    'name'  =>  '热卖商品'
                ]
            ]
        ],
        [
            'id'    =>   4,
            'name'  =>  '促销商品',
            'sub'   =>  [
                [
                    'id'    =>   1,
                    'name'  =>  '促销商品'
                ],
                [
                    'id'    =>   2,
                    'name'  =>  '促销商品'
                ]
            ]
        ],
        [
            'id'    =>   5,
            'name'  =>  '卖家包邮',
            'sub'   =>  [
                [
                    'id'    =>   1,
                    'name'  =>  '卖家包邮'
                ],
                [
                    'id'    =>   2,
                    'name'  =>  '卖家包邮'
                ]
            ]
        ],
        [
            'id'    =>   6,
            'name'  =>  '限时抢购',
            'sub'   =>  [
                [
                    'id'    =>   1,
                    'name'  =>  '限时抢购'
                ],
                [
                    'id'    =>   2,
                    'name'  =>  '限时抢购'
                ]
            ]
        ]
    ];

    public static $goodsType8 = [
        0 =>  '船票抢票',
    ];


    public static $txStatus = [
        1   =>  '待审核',
        2   =>  '待打款',
        3   =>  '已打款',
        4   =>  '无效'
    ];

    public static $ticketType = [
        1   =>  '成人票',
        2   =>  '儿童票',
        3   =>  '老人票'
    ];

    public static $catRules = [
        1 => [
            'id' => 1,
            'name' => ' < 6周岁'
        ],
        2 => [
            'id' => 2,
            'name' => ' < 14周岁'
        ],
        3 => [
            'id' => 3,
            'name' => ' >= 60周岁'
        ],
        4 => [
            'id' => 4,
            'name' => ' >= 65周岁'
        ],
        5 => [
            'id' => 5,
            'name' => ' 60周岁以下'
        ],
        6 => [
            'id' => 6,
            'name' => ' 70周岁以下'
        ],
        7 => [
            'id' => 7,
            'name' => ' 75周岁以下'
        ],
        8 => [
            'id' => 8,
            'name' => ' 78周岁以下'
        ],
        9 => [
            'id' => 9,
            'name' => ' 55周岁以上'
        ],
        10 => [
            'id' => 10,
            'name' => ' 28周岁至70岁'
        ],
        11 => [
            'id' => 11,
            'name' => ' 30周岁至75岁'
        ]
    ];

    public static $formTypes = [
        1 => ['id' => 1, 'name' => '单行文本', 'type' => 'text'],
        2 => ['id' => 2, 'name' => '多行文本', 'type' => 'textarea'],
        3 => ['id' => 3, 'name' => '单选框', 'type' => 'radio'],
        4 => ['id' => 4, 'name' => '多选框', 'type' => 'checkbox'],
        5 => ['id' => 5, 'name' => '日期', 'type' => 'calendar'],
    ];

    //航线
    public static $shipLines = [
        1 => ['name' => '北海 ~ 涠洲', 'depart_port' => 32, 'arrival_port' => 31],
        2 => ['name' => '涠洲 ~ 北海', 'depart_port' => 31, 'arrival_port' => 32]
    ];

    //加速球
    public static $speedBalls = [
        1 => ['id' => 1, 'name' => '3个/张(成功率+30%)', 'price' => 30.00],
        2 => ['id' => 2, 'name' => '6个/张(成功率+60%)', 'price' => 60.00],
        3 => ['id' => 3, 'name' => '9个/张(成功率+90%)', 'price' => 90.00],
    ];

    //酒店星级
    public static $hotelStars = [
        1 => ['id' => 1, 'name' => '一星级'],
        2 => ['id' => 2, 'name' => '二星级'],
        3 => ['id' => 3, 'name' => '三星级'],
        4 => ['id' => 4, 'name' => '四星级'],
        5 => ['id' => 5, 'name' => '五星级'],
        6 => ['id' => 6, 'name' => '准五星'],
        7 => ['id' => 7, 'name' => '六星级'],
        8 => ['id' => 8, 'name' => '近海民宿'],
        9 => ['id' => 9, 'name' => '庭院民宿'],
        10 => ['id' => 10, 'name' => '海景民宿'],
        11 => ['id' => 11, 'name' => '其他']
    ];
    //酒店区域
    public static $hotelDistricts = [
        [
            'id' => 1,
            'pid' => 0,
            'level' => 1,
            'name' => '广西壮族自治区'
        ],
        [
            'id' => 2,
            'level' => 2,
            'pid' => 1,
            'name' => '北海'
        ],
        [
            'id' => 3,
            'level' => 3,
            'pid' => 2,
            'name' => '海城区'
        ],
        [
            'id' => 4,
            'level' => 3,
            'pid' => 2,
            'name' => '银海区'
        ],
        [
            'id' => 5,
            'level' => 3,
            'pid' => 2,
            'name' => '铁山港区'
        ],
        [
            'id' => 6,
            'level' => 3,
            'pid' => 2,
            'name' => '合浦县'
        ],
        [
            'id' => 7,
            'level' => 3,
            'pid' => 2,
            'name' => '涠洲岛'
        ]
    ];
    //酒店类型
    public static $hotelType = [
        1 => ['id' => 1, 'name' => '酒店'],
        2 => ['id' => 2, 'name' => '民宿'],
        3 => ['id' => 3, 'name' => '客栈']
    ];
    //酒店区域
    public static $hotelDistrict = [
        1 => ['id' => 1, 'name' => '北海'],
        2 => ['id' => 2, 'name' => '涠洲岛']
    ];
    //酒店特色
    public static $hotelCharacteristic = [
        1 => ['id' => 1, 'name' => '亲子酒店'],
        2 => ['id' => 2, 'name' => '浪漫情侣'],
        3 => ['id' => 3, 'name' => '温泉酒店'],
        4 => ['id' => 4, 'name' => '艺术酒店'],
        5 => ['id' => 5, 'name' => '看日出'],
        6 => ['id' => 6, 'name' => '观日落'],
        7 => ['id' => 7, 'name' => '海景民宿']
    ];
    //酒店品质
    public static $hotelQuality = [
        1 => ['id' => 1, 'name' => '高档型'],
        2 => ['id' => 2, 'name' => '中端型'],
        3 => ['id' => 3, 'name' => '经济型']
    ];
    //酒店设施
    public static $hotelFacilities = [
        1 => ['id' => 1, 'name' => '室内泳池'],
        2 => ['id' => 2, 'name' => '室外泳池'],
        3 => ['id' => 3, 'name' => '允许携带宠物'],
        4 => ['id' => 4, 'name' => '棋牌室'],
        5 => ['id' => 5, 'name' => '接送服务'],
        6 => ['id' => 6, 'name' => '餐厅']
    ];
    //酒店网络
    public static $hotelWifi = [
        1 => ['id' => 1, 'name' => '客房wifi免费'],
        2 => ['id' => 2, 'name' => '公共区wifi免费'],
        3 => ['id' => 3, 'name' => '客户高速上网']
    ];
    //酒店餐饮
    public static $hotelCatering = [
        1 => ['id' => 1, 'name' => '免费双早'],
        2 => ['id' => 2, 'name' => '免费午餐']
    ];
    //交通服务
    public static $hotelTrafficServices = [
        1 => ['id' => 1, 'name' => '接机服务'],
        2 => ['id' => 2, 'name' => '接站服务'],
        3 => ['id' => 3, 'name' => '代客泊车'],
        4 => ['id' => 4, 'name' => '租车服务']
    ];
    //交通设施
    public static $hotelTrafficFacilities = [
        1 => ['id' => 1, 'name' => '停车免费']
    ];
    //娱乐
    public static $hotelPlay = [
        1 => ['id' => 1, 'name' => '健身室'],
        2 => ['id' => 2, 'name' => '棋牌室']
    ];
    //前台服务
    public static $hotelFrontService = [
        1 => ['id' => 1, 'name' => '行李寄存'],
        2 => ['id' => 2, 'name' => '24小时前台'],
        3 => ['id' => 3, 'name' => '礼宾服务'],
        4 => ['id' => 4, 'name' => '邮政服务'],
        5 => ['id' => 5, 'name' => '叫醒服务']
    ];
    //床型
    public static $bedType = [
        1 => ['id' => 1, 'name' => '圆床'],
        2 => ['id' => 2, 'name' => '单床1.5米'],
        3 => ['id' => 3, 'name' => '单床1.6米'],
        4 => ['id' => 4, 'name' => '单床1.8米'],
        5 => ['id' => 5, 'name' => '单床2.0米'],
        6 => ['id' => 6, 'name' => '单床2.4米'],
        7 => ['id' => 7, 'name' => '单床1.8米+双床1.2米'],
        8 => ['id' => 8, 'name' => '单床1.8米+双床1.3米'],
        9 => ['id' => 9, 'name' => '单床2.0米+单床1.5米'],
        10 => ['id' => 10, 'name' => '单床1.5米+单床1.2米'],
        11 => ['id' => 11, 'name' => '双床1.1米'],
        12 => ['id' => 12, 'name' => '双床1.2米'],
        13 => ['id' => 13, 'name' => '双床1.3米'],
        14 => ['id' => 14, 'name' => '双床1.35米'],
        15 => ['id' => 15, 'name' => '双床1.5米'],
        16 => ['id' => 16, 'name' => '双床1.6米'],
        17 => ['id' => 17, 'name' => '双床1.8米'],
        18 => ['id' => 18, 'name' => '双床1.2+1.8米'],
        19 => ['id' => 19, 'name' => '双床1.5+1.2米'],
        20 => ['id' => 20, 'name' => '双床1.5+1.8米'],
        21 => ['id' => 21, 'name' => '双床1.8+四床1.2米'],
        22 => ['id' => 22, 'name' => '双床1.8米+1米'],
        23 => ['id' => 23, 'name' => '双床1.8+双床1.0'],
        24 => ['id' => 24, 'name' => '三床1.0米'],
        25 => ['id' => 25, 'name' => '三床1.2米'],
        26 => ['id' => 26, 'name' => '三床1.35'],
        27 => ['id' => 27, 'name' => '三床1.5米'],
        28 => ['id' => 28, 'name' => '三床1.6米'],
        29 => ['id' => 29, 'name' => '三床1.8米'],
        30 => ['id' => 30, 'name' => '三床1.8+1.5+1.2米'],
        31 => ['id' => 31, 'name' => '四床1.8米'],
        32 => ['id' => 32, 'name' => '四床1.0米'],
        33 => ['id' => 33, 'name' => '四床1.2米'],
        34 => ['id' => 34, 'name' => '五床1.2米'],
        35 => ['id' => 35, 'name' => '1房单床1.8米+2房单床1.5米'],
        36 => ['id' => 36, 'name' => '1房单床1.8米+2房单床1.5米+3房单1.5米'],
        37 => ['id' => 37, 'name' => '1房单床1.8米+2房单床1.5米+3房单床1.2米'],
        38 => ['id' => 38, 'name' => '1房单床1.8米+2房单床1.5米+3房单床1.0米'],
        39 => ['id' => 39, 'name' => '1房单床1.8米+2房单床1.8米+3房单床1.2米'],
        40 => ['id' => 40, 'name' => '1室1.8米床x1张+2室1.8米床x1张+3室1.2米床x2张']
    ];
    //酒店早餐
    public static $breakfastType = [
        1 => ['id' => 1, 'name' => '无早'],
        2 => ['id' => 2, 'name' => '自费'],
        3 => ['id' => 3, 'name' => '单早'],
        4 => ['id' => 4, 'name' => '双早'],
        5 => ['id' => 5, 'name' => '三早'],
        6 => ['id' => 6, 'name' => '四早'],
        7 => ['id' => 7, 'name' => '八早']
    ];
    //交通服务
    public static $transferService = [
        1 => ['id' => 1, 'name' => '含接送'],
        2 => ['id' => 2, 'name' => '不含接送'],
        3 => ['id' => 3, 'name' => '含接站'],
        4 => ['id' => 4, 'name' => '含送站'],
        5 => ['id' => 5, 'name' => '连住含接送'],
        6 => ['id' => 6, 'name' => '连住含接站'],
    ];
    //酒店客户床型
    public static $roomAttrBedType = [
        1 => ['id' => 1, 'name' => '三床'],
        2 => ['id' => 2, 'name' => '单床1.5+双床1.2'],
        3 => ['id' => 3, 'name' => '单床1.8+单床1.2'],
        4 => ['id' => 4, 'name' => '大床'],
        5 => ['id' => 5, 'name' => '双床'],
        6 => ['id' => 6, 'name' => '多床'],
    ];
    //早餐类型
    public static $roomBreakfastType = [
        1 => ['id' => 1, 'name' => '双人早餐'],
        2 => ['id' => 2, 'name' => '三人早餐'],
        3 => ['id' => 3, 'name' => '含早餐'],
        4 => ['id' => 4, 'name' => '单份早餐'],
        5 => ['id' => 5, 'name' => '多份早餐']
    ];
    //午餐类型
    public static $roomLunchType = [
        1 => ['id' => 1, 'name' => '三人午餐'],
        2 => ['id' => 2, 'name' => '双人午餐']
    ];
    //客房网络
    public static $roomWifiType = [
        1 => ['id' => 1, 'name' => '免费WIFI上网'],
        2 => ['id' => 2, 'name' => '免费有线宽带']
    ];
    //客户支付类型
    public static $roomPayType = [
        1 => ['id' => 1, 'name' => '在线付款']
    ];
    //客户其他
    public static $roomOtherType = [
        1 => ['id' => 1, 'name' => '可订'],
        2 => ['id' => 2, 'name' => '立即确认'],
        3 => ['id' => 3, 'name' => '免费取消'],
        4 => ['id' => 4, 'name' => '增值税专用发票']
    ];
    //酒店服务
    public static $hotelService = [
        1 => ['id' => 1, 'name' => '行李寄存'],
        2 => ['id' => 2, 'name' => '24小时前台'],
        3 => ['id' => 3, 'name' => '礼宾服务'],
        4 => ['id' => 4, 'name' => '邮政服务'],
        5 => ['id' => 5, 'name' => '叫醒服务'],
        6 => ['id' => 6, 'name' => '付费停车'],
        7 => ['id' => 7, 'name' => '充电车位'],
        8 => ['id' => 8, 'name' => '可长租'],
        9 => ['id' => 9, 'name' => '管家式服务'],
        10 => ['id' => 10, 'name' => '接机服务'],
        11 => ['id' => 11, 'name' => '接站服务'],
        12 => ['id' => 12, 'name' => '代客泊车'],
        13 => ['id' => 13, 'name' => '租车服务']
    ];
    //居家
    public static $roomLiving = [
        1 => ['id' => 1, 'name' => '分体式空调'],
        2 => ['id' => 2, 'name' => '中央空调'],
        3 => ['id' => 3, 'name' => '电视'],
        4 => ['id' => 4, 'name' => '吹风机'],
        5 => ['id' => 5, 'name' => '热水壶'],
        6 => ['id' => 6, 'name' => '洗衣机'],
        7 => ['id' => 7, 'name' => '冰箱'],
        8 => ['id' => 8, 'name' => '暖气'],
        9 => ['id' => 9, 'name' => '装饰画'],
        10 => ['id' => 10, 'name' => '休闲椅'],
        11 => ['id' => 11, 'name' => '地毯'],
        12 => ['id' => 12, 'name' => '遮光窗帘'],
        13 => ['id' => 13, 'name' => '工作区域'],
        14 => ['id' => 14, 'name' => '独立客厅'],
        15 => ['id' => 15, 'name' => '鞋柜'],
        16 => ['id' => 16, 'name' => '衣柜']
    ];
    //卫浴
    public static $hotelBathroom = [
        1 => ['id' => 1, 'name' => '独立卫浴'],
        2 => ['id' => 2, 'name' => '拖鞋'],
        3 => ['id' => 3, 'name' => '牙具'],
        4 => ['id' => 4, 'name' => '毛巾'],
        5 => ['id' => 5, 'name' => '纸巾'],
        6 => ['id' => 6, 'name' => '热水淋浴'],
        7 => ['id' => 7, 'name' => '浴缸'],
        8 => ['id' => 8, 'name' => '一次性洗漱品'],
        9 => ['id' => 9, 'name' => '沐浴露'],
        10 => ['id' => 10, 'name' => '洗发水'],
        11 => ['id' => 11, 'name' => '浴巾'],
        12 => ['id' => 12, 'name' => '梳子'],
        13 => ['id' => 13, 'name' => '香皂']
    ];
    //酒店餐厨
    public static $hotelKitchen = [
        1 => ['id' => 1, 'name' => '餐具'],
        2 => ['id' => 2, 'name' => '锅具'],
        3 => ['id' => 3, 'name' => '调料'],
        4 => ['id' => 4, 'name' => '微波炉'],
        5 => ['id' => 5, 'name' => '燃气灶'],
        6 => ['id' => 6, 'name' => '刀具菜板'],
        7 => ['id' => 7, 'name' => '锅铲'],
        8 => ['id' => 8, 'name' => '汤勺'],
        9 => ['id' => 9, 'name' => '洗涤用具'],
        10 => ['id' => 10, 'name' => '餐桌'],
        11 => ['id' => 11, 'name' => '抽油烟机']
    ];
    //酒店建筑
    public static $hotelBuilding = [
        1 => ['id' => 1, 'name' => '电梯'],
        2 => ['id' => 2, 'name' => '窗户'],
        3 => ['id' => 3, 'name' => '阳台'],
        4 => ['id' => 4, 'name' => '落地窗'],
        5 => ['id' => 5, 'name' => '露台'],
        6 => ['id' => 6, 'name' => '私家花园'],
        7 => ['id' => 7, 'name' => '私家泳池']
    ];
    //酒店卫生
    public static $hotelHealth = [
        1 => ['id' => 1, 'name' => '床品每客一换'],
        2 => ['id' => 2, 'name' => '消毒洗手液'],
        3 => ['id' => 3, 'name' => '家用消毒液'],
        4 => ['id' => 4, 'name' => '一次性马桶套'],
        5 => ['id' => 5, 'name' => '一次性毛巾'],
        6 => ['id' => 6, 'name' => '蚊香'],
        7 => ['id' => 7, 'name' => '杀虫剂']
    ];
    /**
     * 酒店儿童设施列表
     * 用于存储酒店提供的儿童相关服务和设施
     * @var array 格式: [id => ['id' => 设施ID, 'name' => 设施名称]]
     */
    public static $hotelChildFacilities = [
        1 => ['id' => 1, 'name' => '绘本故事机'],
        2 => ['id' => 2, 'name' => '儿童泳池']
    ];
    /**
     * 酒店安全设施列表
     * 用于存储酒店提供的安全设备和措施
     * @var array 格式: [id => ['id' => 设施ID, 'name' => 设施名称]]
     */
    public static $hotelSafe = [
        1 => ['id' => 1, 'name' => '智能门锁'],
        2 => ['id' => 2, 'name' => '门禁系统'],
        3 => ['id' => 3, 'name' => '灭火器'],
        4 => ['id' => 4, 'name' => '保安'],
        5 => ['id' => 5, 'name' => '烟雾报警器'],
        6 => ['id' => 6, 'name' => '一氧化碳报警器'],
        7 => ['id' => 7, 'name' => '天然气报警器'],
        8 => ['id' => 8, 'name' => '防滑垫'],
        9 => ['id' => 9, 'name' => '公共监控'],
        10 => ['id' => 10, 'name' => '插座盖']
    ];
    /**
     * 酒店周边设施列表
     * 用于存储酒店周边的便民服务设施
     * @var array 格式: [id => ['id' => 设施ID, 'name' => 设施名称]]
     */
    public static $hotelAround = [
        1 => ['id' => 1, 'name' => '菜市场'],
        2 => ['id' => 2, 'name' => '公园'],
        3 => ['id' => 3, 'name' => '超市']
    ];

    /**
     * 上岛票商品ID
     * 用于标识上岛票商品的唯一标识符
     * @var int
     */
    public static $island_goods_id = 2;

    /**
     * 订单类型
     * 用于标识订单的类型，例如商品订单、船票订单等
     * @var array
     */
    public static $order_type = [
        'goods_order' => 1,
        'ship_order' => 2,
    ];
}
